<html>
<head><meta charset="utf-8"><title>Rust code blocks linking to play.rlo · zulip · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/index.html">zulip</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html">Rust code blocks linking to play.rlo</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="237543408"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237543408" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237543408">(May 05 2021 at 18:27)</a>:</h4>
<p>I just enabled the zulip setting that makes triple-backquote-rust link to <a href="http://play.rust-lang.org">play.rust-lang.org</a></p>



<a name="237543466"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237543466" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237543466">(May 05 2021 at 18:27)</a>:</h4>
<p>Like so:</p>
<div class="codehilite" data-code-language="Rust"><pre><span></span><code><span class="k">fn</span> <span class="nf">main</span><span class="p">()</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="fm">println!</span><span class="p">(</span><span class="s">"Hello Zulip People!"</span><span class="p">);</span><span class="w"> </span><span class="p">}</span><span class="w"></span>
</code></pre></div>



<a name="237543609"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237543609" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237543609">(May 05 2021 at 18:28)</a>:</h4>
<p>(ah smart quotes, why?!?) ((fixed in post-edit. but still: why!))</p>



<a name="237543752"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237543752" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237543752">(May 05 2021 at 18:29)</a>:</h4>
<p>(When you hover over Rust code blocks now, it pops up an icon on the right-hand-side; that’s the link to <a href="http://play.rust-lang.org">play.rust-lang.org</a>)</p>



<a name="237544543"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237544543" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237544543">(May 05 2021 at 18:34)</a>:</h4>
<p>oh, neat!</p>



<a name="237544969"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237544969" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> hyd-dev <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237544969">(May 05 2021 at 18:36)</a>:</h4>
<p>I remember that the playground link was available some time ago, but disappeared at some point...</p>



<a name="237546284"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237546284" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mario Carneiro <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237546284">(May 05 2021 at 18:46)</a>:</h4>
<p>Speaking of which, did you know you can set the default language for code blocks? Not an admin, but it's at <a href="#organization/organization-settings">https://rust-lang.zulipchat.com/#organization/organization-settings</a> &gt; Default language for code blocks</p>



<a name="237551059"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237551059" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237551059">(May 05 2021 at 19:18)</a>:</h4>
<p>woah, that's awesome</p>



<a name="237551097"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237551097" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237551097">(May 05 2021 at 19:18)</a>:</h4>
<p><span class="user-mention silent" data-user-id="271719">Mario Carneiro</span> <a href="#narrow/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo/near/237546284">said</a>:</p>
<blockquote>
<p>Speaking of which, did you know you can set the default language for code blocks? Not an admin, but it's at <a href="#organization/organization-settings">https://rust-lang.zulipchat.com/#organization/organization-settings</a> &gt; Default language for code blocks</p>
</blockquote>
<p>hmm, that might make sense :)</p>



<a name="237551211"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237551211" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237551211">(May 05 2021 at 19:20)</a>:</h4>
<p>that might be annoying for streams like infra though</p>



<a name="237551352"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237551352" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237551352">(May 05 2021 at 19:20)</a>:</h4>
<p>/me notices an option to allow messages to be deleted too…</p>



<a name="237551417"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237551417" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237551417">(May 05 2021 at 19:21)</a>:</h4>
<p>right now people have to resort to editing the message to replace it with "(deleted)" or some such.</p>



<a name="237551438"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237551438" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Josh Triplett <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237551438">(May 05 2021 at 19:21)</a>:</h4>
<p>It'd be nice if default languages could be set per stream.</p>



<a name="237552342"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237552342" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237552342">(May 05 2021 at 19:28)</a>:</h4>
<p><span class="user-mention silent" data-user-id="123586">nagisa</span> <a href="#narrow/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo/near/237551417">said</a>:</p>
<blockquote>
<p>right now people have to resort to editing the message to replace it with "(deleted)" or some such.</p>
</blockquote>
<p>(I didn’t realize that non-admin users lacked that feature)</p>



<a name="237582218"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237582218" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237582218">(May 05 2021 at 23:18)</a>:</h4>
<p>I think "(deleted)" is what you get when you hit that delete button, unless this has changed</p>



<a name="237582222"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237582222" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237582222">(May 05 2021 at 23:18)</a>:</h4>
<p>(deleted)</p>



<a name="237582387"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237582387" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> cuviper <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237582387">(May 05 2021 at 23:20)</a>:</h4>
<p>well I don't even see the delete option in my desktop app, but the above just came from deleting on android</p>



<a name="237598050"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237598050" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237598050">(May 06 2021 at 02:59)</a>:</h4>
<p>I too wish delete was an option</p>



<a name="237598147"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122653-zulip/topic/Rust%20code%20blocks%20linking%20to%20play.rlo/near/237598147" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/122653-zulip/topic/Rust.20code.20blocks.20linking.20to.20play.2Erlo.html#237598147">(May 06 2021 at 03:00)</a>:</h4>
<p>the playground links are great :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>